import Vue from 'vue'

import VueRouter from 'vue-router'
Vue.use(VueRouter)

import Home from '../views/Home.vue'
import Video from '../views/Video.vue'
import Found from '../views/Found.vue'
import Community from '../views/Community.vue'
import People from '../views/People.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/video',
    name: 'Video',
    component: Video
  },
  {
    path: '/found',
    name: 'Found',
    component: Found
  },
  {
    path: '/community',
    name: 'Community',
    component: Community
  },{
    path: '/people',
    name: 'People',
    component: People
  }

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
